import Vue from 'vue'
import App from './App.vue'
import router from './router'  //引入路由模块
import axios from 'axios'
import VueAxios from 'vue-axios'
import utils from './utils/utils.js'
import ElementUI from 'element-ui'; //加入
import 'element-ui/lib/theme-chalk/index.css';//加入

//注册工具模块
Vue.prototype.$ = utils
Vue.use(ElementUI);//加入
Vue.use(VueAxios, axios)
Vue.config.productionTip = false


new Vue({
  router, //使用路由模块
  render: h => h(App),
}).$mount('#app')
